.chat_room {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 11;
  .bg {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.container {
  width: 860px;
  height: 680px;
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  border-radius: 5px;
  overflow: hidden;
}
.user_box {
  width: 60px;
  height: 100%;
  padding: 20px 5px;
  box-sizing: border-box;
  background: #2a2e32;
  position: relative;
  .avatar {
    width: 100%;
    display: flex;
    justify-content: center;
    .img_box {
      width: 45px;
      height: 45px;
      border-radius: 5px;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
  .avatar:hover {
    cursor: pointer;
  }
  .user_info {
    position: absolute;
    right: -290px;
    top: 30px;
    width: 300px;
    height: 150px;
    background: white;
    z-index: 5;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    .img_box {
      margin: 10px 0px;
      height: 110px;
      width: 110px;
      border-radius: 5px;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .other {
      padding: 10px 20px;
      height: 110px;
      font-size: 25px;
      display: flex;
      align-items: center;
      box-sizing: border-box;
      width: calc(100% - 110px);
    }
  }
  .tab_box {
    padding-top: 20px;
    width: 100%;
    div {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      span {
        color: white;
        font-size: 30px;
      }
    }
    div:hover {
      cursor: pointer;
    }
  }
  .bottom {
    position: absolute;
    bottom: 10px;
    left: 0px;
    width: 100%;
    div {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      span {
        color: white;
        font-size: 26px;
        transition: 0.5s;
      }
      .icon-xuzhi {
        font-size: 24px;
      }
      span:hover {
        color: #09bb07;
      }
    }
    div:hover {
      cursor: pointer;
    }
  }
}
.user-list {
  width: 250px;
  height: 100%;
  background-color: #e6e5e5;
  .search_box {
    width: 100%;
    padding: 20px 10px 20px 10px;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(241, 239, 239);
    span {
      padding-left: 10px;
      font-size: 16px;
      font-weight: bold;
    }
    /deep/ .el-input__inner {
      height: 30px;
      line-height: 30px;
    }
    /deep/ .el-input__icon {
      line-height: 30px;
    }
  }
  .scroll_box {
    height: calc(100% - 60px);
    .user {
      overflow: hidden;
      padding: 12px 18px 11px;
      display: flex;
      cursor: pointer;
    }
    .info_box {
      width: calc(100% - 40px);
      overflow: hidden;
      line-height: 36px;
      margin-left: 10px;
      .info {
        display: flex;
        justify-content: space-between;
        line-height: 20px;
        span:nth-child(1) {
          color: #333;
          font-size: 14px;
        }
        span:nth-child(2) {
          color: #999;
          font-size: 12px;
        }
      }
      .msg {
        width: 100%;
        line-height: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #999;
        font-size: 12px;
      }
    }
  }
  .avatar {
    background: white;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      border-radius: 5px;
    }
    .mess_icon {
      display: inline-block;
      height: 13px;
      width: 13px;
      border-radius: 50%;
      background: red;
      right: 0;
      top: 0;
      transform: translate(30%, -30%);
      z-index: 999999;
      position: absolute;
      opacity: 1;
    }
  }

  .grouping {
    width: 100%;
    padding: 10px 0px;
    box-sizing: border-box;
    border-top: 1px solid rgb(219, 217, 217);
    border-bottom: 1px solid rgb(219, 217, 217);
    .group_title {
      padding: 5px 20px;
      width: 100%;
      font-size: 15px;
      color: #a0a0a0;
    }
    .group_item {
      width: 100%;
      display: flex;
      padding: 0px 20px;
      margin-top: 10px;
      box-sizing: border-box;
      height: 50px;
      .other {
        width: calc(100% - 40px);
        padding-left: 10px;
        height: 40px;
        .name {
          width: 100%;
          display: inline-block;
          margin-bottom: 8px;
          color: #777676;
        }
        .landing_time {
          color: #a0a0a0;
          font-size: 13px;
        }
      }
    }
  }
  .grouping:hover {
    cursor: pointer;
  }
  .grouping:last-child {
    border-bottom: none;
  }
}

.box {
  width: 550px;
  overflow: hidden;
  height: 100%;
  background-color: #f5f5f5;
  .menu {
    height: 30px;
    display: flex;
    justify-content: flex-end;
    div {
      width: 30px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.5s;
      span {
        display: block;
        color: rgb(128, 125, 125);
        font-size: 15px;
      }
      .icon-baseline-library_mus {
        font-size: 16px;
      }
      span:hover {
        cursor: pointer;
      }
    }
    div:hover {
      cursor: pointer;
      background: rgb(230, 228, 228);
    }
  }
}

.box-hd {
  width: 100%;
  height: 35px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  display: flex;
  align-content: center;
  div {
    width: 100%;
    text-align: left;
    padding-left: 20px;
    font-size: 20px;
    box-sizing: border-box;
  }
}

.message-box {
  overflow: hidden;
}
.message-box:nth-child(1) {
  padding-top: 10px;
}

.box-bd {
  height: calc(100% - 215px);
  width: 100%;
  bottom: 180px;
  top: 51px;
  overflow-y: auto;
  overflow-x: hidden;
}

.system {
  overflow: hidden;
}
.message_system {
  text-align: center;
  margin: 10px auto;
  max-width: 50%;
}

.message_system .content {
  display: inline-block;
  font-size: 12px;
  padding: 1px 18px;
  color: #b2b2b2;
  border-radius: 2px;
}

.other {
  margin-bottom: 16px;
  float: left;
  width: 100%;
  padding-left: 20px;
  box-sizing: border-box;
}

.my {
  margin-bottom: 16px;
  float: right;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  box-sizing: border-box;
}

.my.message .avatar {
  float: right;
}

.message .content {
  overflow: hidden;
}

.message .content .nickname {
  font-weight: 400;
  padding-left: 10px;
  font-size: 12px;
  height: 22px;
  line-height: 24px;
  color: #4f4f4f;
  width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  .blog {
    margin-left: 5px;
    background: #09bb07;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 5px;
    color: white;
  }
}

.message .avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  float: left;
  cursor: pointer;
  border-radius: 5px;
}

.my.message .bubble {
  background-color: #b2e281;
}
.message .bubble {
  max-width: 500px;
  min-height: 1em;
  display: inline-block;
  vertical-align: top;
  position: relative;
  text-align: left;
  font-size: 14px;
  border-radius: 3px;
  margin: 0 10px;
  background-color: #fff;
}

.message .bubble img {
  display: inline-block;
  cursor: pointer;
  width: 250px;
  height: auto;
}

.other .bubble:before {
  position: absolute;
  top: 14px;
  left: -10px;
  border: 6px solid transparent;
  content: " ";
  border-right-color: #fff;
  border-right-width: 4px;
}

.my .bubble:before {
  position: absolute;
  top: 14px;
  right: -10px;
  border: 6px solid transparent;
  content: " ";
  border-left-color: #b2e281;
  border-left-width: 4px;
}

.bubble_cont {
  max-width: 300px;
  line-height: 25px;
  word-wrap: break-word;
  word-break: normal;
  word-wrap: break-word;
  word-break: break-all;
  padding: 9px;
  vertical-align: middle;
  box-sizing: border-box;
}

.box-ft {
  border-top: 1px solid #ccc;
  height: 150px;
  position: relative;
  background: white;
  box-sizing: border-box;
  .emoji {
    position: absolute;
    top: -175px;
    left: 15px;
  }
}

.box-ft .toolbar {
  height: 30px;
  padding: 5px 15px;
}

.box-ft .toolbar .face {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background: url("./images/wechat-sprit.png") no-repeat -404px -398px;
}

.box-ft .toolbar .screen-cut {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background: url("./images/wechat-sprit.png") no-repeat -30px -432px;
}

.box-ft .toolbar .file label {
  opacity: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  background: rgb(255, 255, 255);
}

.box-ft .toolbar .file {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background: url("./images/wechat-sprit.png") no-repeat -120px -432px;
}

.box-ft .content {
  height: 70px;
  overflow-x: hidden;
  vertical-align: middle;
  /deep/ .el-textarea__inner {
    border: none;
    resize: none;
    padding: 0px 5px;
    height: 65px;
    font-size: 14px;
    overflow-y: hidden;
    box-sizing: border-box;
  }
  //   span {
  //     vertical-align: middle;
  //   }
}

// .box-ft .content .text {
//   resize: none;
//   border: none;
//   outline: none;
//   width: 100%;
//   height: 100%;
//   font-size: 14px;
//   line-height: 20px;
//   padding: 1px 10px;
//   box-sizing: border-box;
// }

.box-ft .action {
  text-align: right;
  margin-top: 5px;
  padding-right: 10px;
}

.box-ft .action .desc {
  color: #888;
  font-size: 12px;
  margin-left: 10px;
  margin-right: 7px;
}

.btn-send {
  display: inline-block;
  border: 1px solid #c1c1c1;
  text-decoration: none;
  background-color: #fff;
  color: #222;
  border-radius: 4px;
  padding: 3px 15px;
  font-size: 14px;
}

.btn-send:hover {
  background-color: #d8d8d8;
}

.header {
  padding: 18px;
  position: relative;
}

.header .avatar {
  display: table-cell;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  white-space: nowrap;
  padding-right: 10.625px;
}

.header .avatar .img {
  width: 50px;
  height: 50px;
  border-radius: 2px;
  display: block;
  cursor: pointer;
}

.header .info {
  display: table-cell;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  width: 2000px;
}

.header .info h3 {
  display: inline-block;
  font-weight: 400;
  width: 156px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  color: #fff;
  font-size: 18px;
  vertical-align: top;
  line-height: 31px;
  text-decoration: none;
}

.title {
  padding: 13px 18px 11px;
  border-bottom: 1px solid #24272c;
  border-top: 1px solid #24272c;
  color: #fff;
}

.title h3 {
  font-weight: 400;
  font-size: 18px;
}

.active {
  color: #09bb07 !important;
}
.date {
  width: 100%;
  text-align: center;
  color: rgb(128, 126, 126);
  padding-bottom: 10px;
  font-size: 14px;
}
.mouse_menu {
  position: absolute;
  z-index: 1001;
  width: 80px;
  box-sizing: border-box;
  padding: 5px 10px;
  border-radius: 5px;
  background: white;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
  span {
    font-size: 14px;
    width: 100%;
    display: inline-block;
    text-align: center;
    transition: 0.5s;
  }
  span:hover {
    cursor: pointer;
    opacity: 0.8;
  }
}
.attention {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1004;
  user-select: none;
  .att_bg {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    .att_box {
      width: 400px;
      height: auto;
      background: white;
      border-radius: 5px;
      .att_title {
        padding: 5px;
        box-sizing: border-box;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        font-weight: bold;
        border-bottom: 1px solid rgb(233, 231, 231);
        text-align: center;
        margin-bottom: 10px;
      }
      .att_content {
        padding: 5px 10px;
        box-sizing: border-box;
        width: 100%;
        padding-bottom: 10px;
        span {
          width: 100%;
          display: inline-block;
          line-height: 25px;
          font-size: 15px;
        }
      }
    }
  }
}
